home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HAM Radio 1997
/
HAM Radio 1997.iso
/
vcls
/
nimgvc10.000
/
stdafx.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-04-08
|
1KB
|
37 lines
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
#include <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions
#include <afxdisp.h> // MFC OLE automation classes
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // MFC support for Windows 95 Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT
//The way our image fits in it's window
enum FITTYPE
{
BESTFIT,
HORZFIT,
VERTFIT,
ONETOONE
};
//Error codes returned from CNEDImage::GetLastError()
//Use these error codes to report the status of the image
//control
#define NED_32IMAGE_E_NOERROR 0
#define NED_32IMAGE_E_OUTOFMEMORY 1
#define NED_32IMAGE_E_NOIMAGE 2
#define NED_32IMAGE_E_BADIMAGE 3
#define NED_32IMAGE_E_BADIMAGETYPE 4
#define NED_32IMAGE_E_REDUCTIONFAILED 5
#define NED_32IMAGE_E_FILENOTFOUND 6
#define NED_32IMAGE_E_OUTOFVAS 7
#define NED_32IMAGE_E_FILEMAPPING 8